﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace CylTest
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            Input input = new Input(1);
            bool result = false;
            input.In[0] = 0;
            result = input.Aligner;
            Assert.AreEqual(false, result);

            input.In[0] = 2;
            result = input.Aligner;
            Assert.AreEqual(false, result);

            input.In[0] = 1;
            result = input.Aligner;
            Assert.AreEqual(true, result);


        }
    }
}
